package com.yunxi.finance.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class VehiclePriceQueryRespVO implements Serializable {

    @ApiModelProperty(value = "生效日期")
    private String effectDate;
    @ApiModelProperty(value = "失效日期")
    private String valiDate;
    @ApiModelProperty(value = "特征值")
    private String productCode;
    @ApiModelProperty(value = "名称")
    private String productName;
    @ApiModelProperty(value = "特征值")
    private String featureCode;
    @ApiModelProperty(value = "价格名称")
    private String priceName;
    @ApiModelProperty(value = "金额")
    private String amount;
    @ApiModelProperty(value = "价格类型")
    private String priceTypeName;
    @ApiModelProperty(value="数量")
    private String num;
    @ApiModelProperty(value = "渠道商名称")
    private String partnerName;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "开始时间")
    private Date beginDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "结束时间")
    private Date endDate;
    @ApiModelProperty(value = "创建人")
    private String userName;
}
